﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace C12_Ex02_Shaked_032675316_Itay_032511057
{
    public partial class LoadingForm : Form
    {
        private string m_currentUserName;

        public string CurrentUserName
        {
            get
            {
                return m_currentUserName;
            }

            set
            {
                m_currentUserName = value;
                labelCurrentUserName.Invoke(new Action(() => labelCurrentUserName.Text = m_currentUserName));
            }
        }

        public LoadingForm()
        {
            InitializeComponent();
        }
    }
}
